using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectCastamere
{
    class PauseMenu : Menu
    {
        public PauseMenu(Application app)
            : base(app)
        {
            AddOption("Resume", true);
            AddOption("Exit", true);
        }

        public override void OptionSelected(string option)
        {
            if (option == "Resume")
            {
                application.PopState();
            }
            if (option == "Exit")
            {
                application.PopState();
                application.PopState();
            }
        }
    }
}
